package net.lgpage.util;

import android.view.animation.Animation;
import android.view.animation.TranslateAnimation;

public class AnimtionBuilder {

	public Animation moveAnim(float fromXDelta, float toXDelta, float fromYDelta, float toYDelta){
		Animation animation = null;
		animation = new TranslateAnimation(fromXDelta, toXDelta, fromYDelta, toYDelta);
		animation.setFillAfter(true);
		animation.setDuration(300);
		return animation;
	}
	
}
